package cn.lysj.framework.order.dto;

import cn.lysj.framework.common.validate.annotation.Min;
import cn.lysj.framework.common.validate.annotation.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 15:42 2018/11/25
 * @ Description:
 **/
@Data
public class WxRefundDto {
    @NotBlank(message = "请提供正确的商户Id")
    private String merchantId;//商户ID

    @Min(min = 0,message = "请提供大于0的金额")
    private BigDecimal value;//订单总金额

    @NotBlank(message = "请提供订单号")
    private String orderId;

    @NotBlank(message = "请提供openId")
    private String openId;//用户openId
}
